package cn.wedding.service;

import cn.wedding.entity.User;
import javafx.beans.binding.StringExpression;

import java.util.List;

public interface UserService {
    public int init(User user);//添加
    public User selectEmail(String email);//按email查询
    public User selectName(String username);//按名查询
    public User selectID(int id);//按ID查询
    public int update(User user);//修改
    public List<User> selectAll();//查询全部
    public User denglu(String email,String password);//登录
}
